package org.jeecg.netty.sensor.util;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import io.netty.channel.Channel;
import io.netty.channel.ChannelId;

public class SenSorConfigConsts
{



    public static final String SENSOR_CODE_REDIS="SENSOR_CODE";

	/**
	 * 消息体头部
	 */
	public static final int HEAD_DATA_SENSOR_01 = 0X01;


	/**
	 * 消息体头部
	 */
	public static final int HEAD_DATA_98 = 0X98;

	/**
	 * 获取请求过来的客户端，目标前就一个。
	 */
	public static Channel channel;

	/**
	 * ChannelMap 用来存放多个channel
	 */
	public static Map<Short, Channel> senSorchannelMap = new ConcurrentHashMap<Short, Channel>();
	public static Map<ChannelId,Short> senSorchannelIdMap = new ConcurrentHashMap<ChannelId, Short>();


}
